package cn.yougou.pojo;

import java.util.Date;
import java.io.Serializable;

/**
 * (YgBill)实体类
 *
 * @author makejava
 * @since 2021-01-14 00:42:05
 */
public class YgBill implements Serializable {
    private static final long serialVersionUID = 222023119648187638L;
    /**
     * 账单表主键
     */
    private Integer id;
    /**
     * 订单详情
     */
    private String commoditydata;
    /**
     * 优惠券id
     */
    private Integer couponsid;
    /**
     * 创建时间
     */
    private Date createdate;
    /**
     * 支付方式 0 余额 1微信 2支付宝
     */
    private Integer modeofpayment;
    /*
     * 实付款
    * */
    private Double actualprice;

    public YgBill(String commoditydata, Integer couponsid, Date createdate, Integer modeofpayment,Double actualprice) {
        this.commoditydata = commoditydata;
        this.couponsid = couponsid;
        this.createdate = createdate;
        this.modeofpayment = modeofpayment;
        this.actualprice=actualprice;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCommoditydata() {
        return commoditydata;
    }

    public void setCommoditydata(String commoditydata) {
        this.commoditydata = commoditydata;
    }

    public Integer getCouponsid() {
        return couponsid;
    }

    public void setCouponsid(Integer couponsid) {
        this.couponsid = couponsid;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public Integer getModeofpayment() {
        return modeofpayment;
    }

    public void setModeofpayment(Integer modeofpayment) {
        this.modeofpayment = modeofpayment;
    }

    public Double getActualprice() {
        return actualprice;
    }

    public void setActualprice(Double actualprice) {
        this.actualprice = actualprice;
    }
}